package com.hhs.storage.bean;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author shadow
 * @since 2018-12-18
 */
@TableName("jxc_product_order")
@Data
public class JxcProductOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id_")
    private String id;
    @TableField("type_id_")
    private String typeId;
    @TableField("number_")
    private Integer number;
    @TableField("price_")
    private Integer price;
    @TableField("creater_id_")
    private String createrId;
    @TableField("creater_")
    private String creater;
    /**
     * 1:入库；2：出库
     */
    @TableField("order_type_")
    private Integer orderType;
    @TableField("create_date_")
    @JSONField(format="yyyy-MM-dd hh:mm:ss")
    private Date createDate;
    /**
     * 订单状态：1、在途；2、驳回、3、结束
     */
    @TableField("status_")
    private Integer status;
    @TableField("remark_")
    private String remark;
    @TableField(exist = false)
    private String typeName;


}
